package Z002BianLiang;

public class BLleixingzhuanhua {
    public static void main(String[] args) {


        char c = 'A';
        short s = 80;

        c = (char) s;
        //s = c;

        long l = 50;
        int i = 50;
        l = i;

        byte b = 5;
        int i1 = 10 ;
        int i2 = 300 ;
        // b = i1;
        b = (byte)i1;
        System.out.println(b);
        b = (byte)i2;
        System.out.println(b);

        System.out.println(Integer.toBinaryString(i2));

        short a = 1 ;
        short aa = 2;
        // aaa = a + aa; aaa的类型是？
        // short类型a，b，运算后的结果储存在另一片内存里，
        // 默认是int类型，需要强制转换为short储存

    }
}